package com.example.sulingorder.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.sulingorder.entity.OrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 创建商品表
 * 
 * @author wen
 * @email 1322127758@qq.com
 * @date 2022-03-11 14:25:53
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {
    /**
     *
     * @param username
     * @param state
     * @param page
     * @param size
     * @return
     */
    List<OrderEntity> getOrderListPagi(@Param("username")String username, @Param("state")Integer state,@Param("page")Integer page,@Param("size")Integer size);
}
